package com.dianxin.farm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
* <p>
    * 
    * </p>
*
* @author xukai
* @since 2020-11-30
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @ApiModel(value="GoodsInfo对象", description="")
    public class GoodsInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Boolean topStatus;

    private String goodsName;

    private String description;


    private LocalDateTime createTime;

            @ApiModelProperty(value = "价格")
    private BigDecimal price;

            @ApiModelProperty(value = "毛利率")
    private BigDecimal profitRate;

            @ApiModelProperty(value = "分红利润率")
    private BigDecimal devidendRate;

            @ApiModelProperty(value = "套餐缩率图地址")
    private String headImageUrl;

            private String details;

            private Long goodsCode;

            private Integer shelfStatus;

            private String thirdDes;


}
